# -*- coding: utf-8 -*-
# --------------------------------------
# @Time    : 2025/7/15 19:24
# @File    : __init__.py.py
# @Project : P0716sayhello
# @Author  : CHH
# @Desc    : Windows   文件描述
# @Copyright : © 2025 HORDOR . All rights reserved.
# @Version : 1.0.0
# --------------------------------------
from flask import Flask


def create_app():
    app = Flask(__name__)
    app.config.from_object("config.settings")
    from .views import sayhello

    app.register_blueprint(sayhello.bd_bp)
    return app
